package com.kkkitsch.coolalbum.service;

import java.util.List;

import javax.servlet.http.HttpSession;

import com.kkkitsch.coolalbum.entity.TPhoto;
import com.kkkitsch.coolalbum.entity.TPhototype;
import com.kkkitsch.coolalbum.util.MyMsg;

public interface TPhotoService {

	MyMsg<TPhoto> uploadFile(TPhoto photo);

	MyMsg<TPhoto> updateClickNum(TPhoto photo, Integer mId);

	MyMsg<TPhoto> singleDelete(String pId);

	List<TPhoto> getSelectPhoto(Integer mId, String ptid);

	MyMsg<TPhoto> getDelicatedPhoto(String pId);

	TPhoto playPic(Integer getpMemberId, Integer getpId);

	MyMsg<List<TPhoto>> getAllPhoto(Integer mId, List<TPhototype> phototype,HttpSession session);

	MyMsg<List<TPhoto>> playTypePic(String pTypeId);

}
